-- GENERATED SPELL FOR [Private Hallan] --


function spell0_5045(pUnit, Event) --@Fake Shot,n/a--
pUnit:FullCastSpellOnTarget(7105,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5045', 667, 1)
end

function Sorts_5045(pUnit, Event)
local choix_sorts_5045 = math.random(0, 0)
if choix_sorts_5045 == 0 then
pUnit:RegisterEvent('spell0_5045', 1, 1)
end
end

function mob5045_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5045', math.random(1500, 3000), 1)
end

function mob5045_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5045_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5045_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5045, 1, 'mob5045_Action')
RegisterUnitEvent(5045, 2, 'mob5045_Leave')
RegisterUnitEvent(5045, 3, 'mob5045_Kill')
RegisterUnitEvent(5045, 4, 'mob5045_Die')
